<template>
  <div class="head-top">
    <img class="top-img" src="@/assets/images/pc_mainTitle.png" alt="">
    <div class="top-intro">
      <img src="@/assets/images/pc_main_corner.png" alt="" class="intro-corner">
      <div class="intro-title">Hackathon Intro</div>
      <div class="intro-sub">Push boundaries, transform ideas, into reality</div>
    </div>
    <div class="top-info">Dive into the future of decentralized technology with &lt;CodeCraft Hackathon&gt;, hosted by C² Ventures. As we navigate the forefront of blockchain innovation, this hackathon provides a radiant opportunity for budding developers, thinkers, and innovators to sculpt the next chapter of DeFi & beyond.</div>
  </div>
</template>

<style lang="scss" scoped>
  .head-top{
    padding-top: 140px;
    .top-img{
      width: 100%;
    }
    .top-intro{
      margin-top: 160px;
      width: 953px;
      height: 250px;
      background-color: #5CD848;
      padding-top: 54px;
      padding-left: 122px;
      position: relative;
      .intro-corner{
        position: absolute;
        top: -76px;
        right: -228px;
      }
      .intro-title{
        color: #000000;
        font-size: 60px;
        font-family: poppins-bold;
        line-height: 72px;
        position: relative;
        &::after{
          content: '#';
          position: absolute;
          color: #000000;
          font-size: 40px;
          left: -40px;
          bottom: -10px;
          font-family: PingFangSC-Semibold;
        }
      }
      .intro-sub{
        margin-top: 22px;
        line-height: 44px;
        font-size: 31px;
        color: #0C1C09;
      }
    }
    .top-info{
      margin-top: 50px;
      line-height: 44px;
      font-size: 20px;
      color: #D5D5D5;
    }
  }
  @media screen and (max-width: 1180px) {
    .head-top{
      text-align: center;
      padding-top: 60px;
      .top-intro{
        margin-top: 30px;
        width: 80%;
        height: 120px;
        padding-top: 10px;
        padding-left: 30px;
        .intro-corner{
          position: absolute;
          top: -21px;
          right: -63px;
          width: 63px;
          height: 63px;
        }
        .intro-title{
          font-size: 26px;
          line-height: 31px;
          &::after{
            content: '#';
            position: absolute;
            color: #000000;
            font-size: 14px;
            left: -8px;
            bottom: -5px;
            font-family: PingFangSC-Semibold;
          }
        }
        .intro-sub{
          width: 120px;
          font-size: 14px;
          line-height: 17px;
          text-align: left;
          margin-top: 10px;
        }
      }
      .top-info{
        margin-top: 30px;
        line-height: 28px;
        font-size: 14px;
        color: #D5D5D5;
        text-align: left;
      }
    }
  }
</style>